package com.hz.ruoyistorage.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.hz.ruoyistorage.domain.LgColdType;
import org.apache.ibatis.annotations.Select;

import java.util.List;
import java.util.Map;

/**
 * @version 1.0
 * @Author gj
 * @Date 2025/3/10 10:20
 * @注释
 */
public interface LgColdTypeMapper extends BaseMapper<LgColdType> {
    //获得所有
    public List<LgColdType> getAll(Map<String,Object> query);
    //获得数据条数
    public Integer getCount(Map<String,Object> query);
    //获得冷库类型的id与名称
    @Select("select cold_type_id,type_name from lg_cold_type")
    public List<LgColdType> getColdType();
}
